package com.thesis.dao;

import com.thesis.entity.SysUser;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    Page<SysUser> findPageList(@Param("queryParam")SysUser record);

    Page<SysUser> findPageListByVague(@Param("queryParam") SysUser queryParam, @Param("vagueParam")String vagueParam);

    Integer deleteBatchByIds(List<Integer> idList);

    List<SysUser> checkObj(SysUser record);

    SysUser findByMobile(String mobile);

}